/* eslint-disable no-unused-vars */
import Konva from 'konva'

export interface IKonvaPen {
  status: 'waiting' | 'drawing' | 'disable'

  points: number[]

  beginPos: number[]

  endPos: number[]

  angle: number

  text: number[]

  beginPillar: { id: ''; x: 0; y: 0; rotation: 0; width: 0; height: 0 }

  endPillar: { id: ''; x: 0; y: 0; rotation: 0; width: 0; height: 0 }

  konvaGroup: Konva.Group

  mousedown(layer: Konva.Layer, points: number[], node: object): void

  mousemove(points: number[], node: object): void

  mouseup(points: number[], node: object): void

  click(layer: Konva.Layer, node: object): void

  clean(): void
}
